<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let usernum = [9,1,1,2,3,4,2,2,3,4,8,8,8,0]
        let Usernum = [...new Set(usernum)]
        document.write (Usernum)
        Usernum.sort ( (a,b) => a-b)
        document.write(Usernum)
    </script>
</body>
</html>